package com.yonyou.sunxilong.entity;

import com.yonyou.iuap.yms.annotation.YMSEntity;
import java.util.List;
import java.util.Date;
import com.yonyou.ypd.bill.basic.entity.SuperDO;

/**
 * @author root
 * @description sxl_请购单
 * @Date 2024-02-23 00:54:19
 **/
@YMSEntity(name = "zyhyspring2024.zyhyspring2024.sxl_apply_order", domain = "zyhyspring2024")
public class SxlApplyOrder extends SuperDO {
    public static final String ENTITY_NAME = "zyhyspring2024.zyhyspring2024.sxl_apply_order";
    public static final String ORG = "org";
    public static final String OPERATOR = "operator";
    public static final String APPLY_DEPT = "apply_dept";
    public static final String APPLY_DATE = "apply_date";
    public static final String DR = "dr";
    public static final String YTENANTID = "ytenantId";
    public static final String CREATETIME = "createTime";
    public static final String MODIFYTIME = "modifyTime";
    public static final String CREATOR = "creator";
    public static final String MODIFIER = "modifier";
    public static final String ID = "id";
    public static final String PUBTS = "pubts";
    public static final String CODE = "code";
    public static final String VERIFYSTATE = "verifyState";
    public static final String AUDITOR = "auditor";
    public static final String AUDITTIME = "auditTime";
    public static final String AUDITNOTE = "auditNote";
    public static final String PROCINSTID = "procinstId";
    public static final String SXL_APPLY_ORDERSLIST = "sxl_apply_ordersList";

    /* 需求组织,uri:zyhyspring2024.zyhyspring2024.sxl_apply_order.org */
    private String org;
    /* 请购员,uri:zyhyspring2024.zyhyspring2024.sxl_apply_order.operator */
    private String operator;
    /* 请购部门,uri:zyhyspring2024.zyhyspring2024.sxl_apply_order.apply_dept */
    private String apply_dept;
    /* 申请日期,uri:zyhyspring2024.zyhyspring2024.sxl_apply_order.apply_date */
    private String apply_date;
    /* 逻辑删除,uri:iuap.busiObj.LogicDelete.dr */
    private Short dr;
    /* 租户id,uri:iuap.busiObj.IYTenant.ytenantId */
    private String ytenantId;
    /* 创建时间,uri:iuap.busiObj.IAuditInfo.createTime */
    private Date createTime;
    /* 修改时间,uri:iuap.busiObj.IAuditInfo.modifyTime */
    private Date modifyTime;
    /* 创建人,uri:iuap.busiObj.IAuditInfo.creator */
    private String creator;
    /* 修改人,uri:iuap.busiObj.IAuditInfo.modifier */
    private String modifier;
    /* id,uri:iuap.busiObj.BizObject.id */
    private String id;
    /* pubts,uri:iuap.busiObj.BizObject.pubts */
    private Date pubts;
    /* 编码,uri:iuap.busiObj.Code.code */
    private String code;
    /* 单据状态,uri:iuap.busiObj.ApprovalFlowItf.verifyState */
    private Short verifyState;
    /* 审批人,uri:iuap.busiObj.ApprovalFlowItf.auditor */
    private String auditor;
    /* 审批日期,uri:iuap.busiObj.ApprovalFlowItf.auditTime */
    private Date auditTime;
    /* 审批批语,uri:iuap.busiObj.ApprovalFlowItf.auditNote */
    private String auditNote;
    /* 流程实例ID,uri:iuap.busiObj.ApprovalFlowItf.procinstId */
    private String procinstId;
    /* 子表实体引用 */
    private List<SxlApplyOrders> sxl_apply_ordersList;

    public void setOrg(String org) {
        this.org = org;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public void setApply_dept(String apply_dept) {
        this.apply_dept = apply_dept;
    }

    public void setApply_date(String apply_date) {
        this.apply_date = apply_date;
    }

    public void setDr(Short dr) {
        this.dr = dr;
    }

    public void setYtenantId(String ytenantId) {
        this.ytenantId = ytenantId;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setPubts(Date pubts) {
        this.pubts = pubts;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setVerifyState(Short verifyState) {
        this.verifyState = verifyState;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public void setAuditNote(String auditNote) {
        this.auditNote = auditNote;
    }

    public void setProcinstId(String procinstId) {
        this.procinstId = procinstId;
    }

    public void setSxl_apply_ordersList(List<SxlApplyOrders> sxl_apply_ordersList) {
        this.sxl_apply_ordersList = sxl_apply_ordersList;
    }

    public String getOrg() {
        return org;
    }

    public String getOperator() {
        return operator;
    }

    public String getApply_dept() {
        return apply_dept;
    }

    public String getApply_date() {
        return apply_date;
    }

    public Short getDr() {
        return dr;
    }

    public String getYtenantId() {
        return ytenantId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public String getCreator() {
        return creator;
    }

    public String getModifier() {
        return modifier;
    }

    public String getId() {
        return id;
    }

    public Date getPubts() {
        return pubts;
    }

    public String getCode() {
        return code;
    }

    public Short getVerifyState() {
        return verifyState;
    }

    public String getAuditor() {
        return auditor;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public String getAuditNote() {
        return auditNote;
    }

    public String getProcinstId() {
        return procinstId;
    }

    public List<SxlApplyOrders> getSxl_apply_ordersList() {
        return sxl_apply_ordersList;
    }

    public String getFullName() {
        if (super.getFullName() != null && super.getFullName().indexOf("#PT#.") != -1) {
            return super.getFullName();
        } else {
            return ENTITY_NAME;
        }
    }
}
